pub const APP_NAME: &str = "MoyuChat";
pub const HINT: &str = "Input your message, type /h for help";
pub const HELP: &str = "/c [Address] - p2p chat on [Address]\n\
/c self - chat with your self(Debug usage)\n\
/room c - Create a new room\n\
/room s - Close room\n\
/room j [Address] - Join a chat room on [Address]\n\
/room exit - Exit the room you joined\n\
/t [Name] [Message] - Tell [Name] with [Message]\n\
/q - Query users in this room\n\
/exit - Exit this application";

pub mod colors {
    use iced::Color;

    pub const MESSAGE_BACKGROUND: Color = Color::from_rgb(0.95, 0.95, 0.95);
    pub const TIMESTAMP: Color = Color::from_rgb(0.5, 0.5, 0.5);

    pub const USER_SELF: Color = Color::from_rgb(0.2, 0.3, 0.7);
    pub const USER_OTHER: Color = Color::from_rgb(0.9, 0.7, 0.25);
}